import request from "@/utils/request.js";

/**
 * 获取岗位信息列表
 */
export function getTalentInfo(data) {
	try {
		return request({
			url: '/app/talent/postPage',
			method: 'GET',
			data: data
		})
	} catch (error) {
		console.error(error)
	}
}

/**
 * 获取岗位详细信息
 */
export function getTalentDetailsInfo(data) {
	try {
		return request({
			url: '/app/talent/postDetails',
			method: 'GET',
			data: data
		})
	} catch (error) {
		console.error(error)
	}
}